﻿using Abp.vNext.WT.WebApi.Contracts.Issues.Dtos;
using Abp.vNext.WT.WebApi.Issues;
using AutoMapper;
using Volo.Abp.Application.Dtos;

namespace Abp.vNext.WT.WebApi;

public class WebApiApplicationAutoMapperProfile : Profile
{
    public WebApiApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */

        // 从仓储层查询出来映射到前端 DTO
        CreateMap<Issue, IssueDto>();

        // 从前端 DTO 传递给后端
    }
}
